﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XW.Core
{
    /// <summary>
    /// 登录日志
    /// </summary>
    public class LoginLogModel
    {
        /// <summary>
        /// Gets or sets the identifier.
        /// </summary> 
        public int id { get; set; }

        /// <summary>
        /// 用户Id
        /// </summary> 
        public int user_id { get; set; }

        /// <summary>
        /// 用户操作
        /// </summary> 
        public string operation { get; set; }

        /// <summary>
        /// 请求方法
        /// </summary> 
        public string method { get; set; }

        /// <summary>
        /// 登录结果
        /// </summary> 
        public string l_result { get; set; }

        /// <summary>
        /// 请求参数
        /// </summary> 
        public string opt_params { get; set; }
         
        /// <summary>
        /// IP
        /// </summary> 
        public string ip { get; set; }
        /// <summary>
        /// IP归属地
        /// </summary> 
        public string ip_gsd { get; set; }

        /// <summary>
        /// IP运营商
        /// </summary> 
        public string ip_yys { get; set; }
        /// <summary>
        /// 创建人Id
        /// </summary> 
        public int create_id { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime create_time { get; set; }

        /// <summary>
        /// 修改人Id
        /// </summary>
        public int update_id { get; set; }

        public DateTime update_time { get; set; }
    }
}
